import { createRouter, createWebHistory } from 'vue-router'
import home from '../views/home.vue'

const routes = [{
    path: '/',
    name: 'home',
    component: home
  },
  {
    path: '/test',
    name: 'test',
    component: () =>
      import ( /* webpackChunkName: "about" */ '../views/test.vue')
  }
]

const router = createRouter({
  history: createWebHistory(process.env.BASE_URL),
  routes
})

export default router